package com.gimi.cloud.mmf.user.common.enums;

/**
 * App返回code常量类
 * 
 * @author Kunkka
 *
 */
@SuppressWarnings("unused")
public class AppResultCode { 

	/**
	 * 代码级别的错误
	 */
	public static final String EX_SYSTEM_ERROR = "";
	/**
	 * 业务级别的错误
	 */
	public static final String EX_BUSINESS_WARN = "";
	/**
	 * 成功
	 */
	public static final String EX_SUCCESS = "";
	/**
	 * token过期
	 */
	public static final String EX_TOKEN_TIMEOUT = "";
	/**
	 * token不存在，无效的token
	 */
	public static final String EX_TOKEN_INVALID = "";
	/**
	 * 请求数据为空
	 */
	public static final String EX_EMPTY_RESULTSET = "";
	/**
	 * 成功
	 */
	public static final String SUCCESS = "9999";
	/**
	 * 代码级别的错误
	 */
	public static final String ERROR = "0500";
	/**
	 * 流程级别的错误
	 */
	public static final String ACCESS_BARRED = "0403";
	/**
	 * 业务级别的错误
	 */
	public static final String ERR_BUSINESS = "0000";
	

	/**
	 * 请求数据为空
	 */
	public static final String EMPTY_RESULTSET = "9995";
	/**
	 * appkey不正确
	 */
	public static final String ERR_APPKEY_INVALID = "0101";
	/**
	 * 签名不正确
	 */
	public static final String ERR_SINGA = "0102";
	/**
	 * token过期
	 */
	public static final String TOKEN_TIMEOUT = "0103";
	/**
	 * token不存在，无效的token
	 */
	public static final String TOKEN_INVALID = "0104";
	/**
	 * 丢失（缺失）的token
	 */
	public static final String TOKEN_MISS = "0105";
	/**
	 * 长期不在线,token失效
	 */
	public static final String TOKEN_LOSE_EFFICACY = "0106";
	/**
	 * 用户不存在，无效的用户id
	 */
	public static final String ERR_USER_INVALID = "0201";
	/**
	 * 用户名格式不正确
	 */
	public static final String ERR_USERNAME_INVALID = "0202";
	/**
	 * 用户名被占用
	 */
	public static final String ERR_USERNAME_USED = "0203";
	/**
	 * 手机号格式错误
	 */
	public static final String ERR_PHONE_INVALID = "0204";
	/**
	 * 手机号被占用
	 */
	public static final String ERR_PHONE_USED = "0205";

	/**
	 * 手机未认证
	 */
	public static final String ERR_PHONE_NOT_AUTH = "0206";
	/**
	 * 邮箱地址不正确
	 */
	public static final String ERR_EMAIL_INVALID = "0207";
	/**
	 * 邮箱被占用
	 */
	public static final String ERR_EMAIL_USED = "0208";
	/**
	 * 邮箱未认证
	 */
	public static final String ERR_EMAIL_NOT_AUTH = "0209";
	/**
	 * 未实名认证
	 */
	public static final String ERR_REALNAME_NOT_AUTH = "0210";
	/**
	 * 验证码不正确
	 */
	public static final String ERR_CODE_INVALID = "0211";
	/**
	 * 验证码过期
	 */
	public static final String ERR_CODE_TIMEOUT = "0212";
	/**
	 * 密码格式不正确
	 */
	public static final String ERR_PWD_INVALID = "0213";
	/**
	 * 用户被锁定，多次键入登录密码错误
	 */
	public static final String ERR_USER_LOCKED_CAUSE_PWD = "0214";
	/**
	 * 用户被锁定，多次键入支付密码错误
	 */
	public static final String ERR_USER_LOCKED_CAUSE_PAYPWD = "0215";
	/**
	 * 错误的用户类型（类型不为投资人的用户尝试登录app）
	 */
	public static final String ERR_USER_TYPE_NOT_ALLOWED = "0216";
	/**
	 * 键入密码不正确
	 */
	public static final String ERR_PWD_NOT_CORRECT = "0217";
	/**
	 * 键入支付密码不正确
	 */
	public static final String ERR_PAYPWD_NOT_CORRECT = "0218";
	/**
	 * 短信接口功能性问题
	 */
	public static final String ERR_SENT_MSG_FAIL = "0219";
	/**
	 * 查询標不存在
	 */
	public static final String ERR_BORROW_INVALID = "0220";
	/**
	 * 用户权限被冻结
	 */
	public static final String ERR_USER_FREEZE = "0221";
	/**
	 * 用户不是新手，不能投资新手标
	 */
	public static final String ERR_USER_NOT_NOVICE = "0222";
	/**
	 * 用户未设置支付密码
	 */
	public static final String ERR_PAYPWD_INVALID = "0223";
	/**
	 * 密码不能与支付密码一致
	 */
	public static final String ERR_PWD_REPEAT = "0224";
	/**
	 * 错误的银行id
	 */
	public static final String ERR_BANK_ID = "0225";
	/**
	 * 邀请人不存在
	 */
	public static final String ERR_NO_INVETER_PHONE_USER = "0226";
	/**
	 * 手机端验证码验证失败
	 */
	public static final String ERR_REGISTER_CODE= "0227";
	/**
	 * 手机号错误（用户数据库中不存在）
	 */
	public static final String ERR_NOPHONE_CODE= "0228";
	/**
	 * 身份证过期
	 */
	public static final String ID_CARD_EXPIRED= "0229";
	/**
	 * 参数格式错误
	 */
	public static final String PARAMS_FORMAT_ERROR= "0230";
	
	/**
	 * 找不到文件
	 */
	public static final String ERR_NOT_FOUND = "0404";
	/**
	 * TS不可不为10位
	 */
	public static final String ERR_TS_LENGTH = "0455";
    /**
     * 找不到APP信息配置
     */
	public static final String APP_INFORMATION_CONFIG_NOT_FOUND ="0460";
}
